	.file	1 "tp1encode-sinfile.c"
	.section .mdebug.abi32
	.previous
	.abicalls
	.rdata
	.align	2
$LC0:
	.ascii	"%s\000"
	.text
	.align	2
	.globl	main
	.ent	main
main:
	.frame	$fp,72,$ra		# vars= 32, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,72
	.cprestore 16
	sw	$ra,64($sp)
	sw	$fp,60($sp)
	sw	$gp,56($sp)
	move	$fp,$sp
	sw	$a0,72($fp)
	sw	$a1,76($fp)
	sw	$zero,24($fp)
$L18:
	la	$a0,__sF
	la	$t9,fgetc
	jal	$ra,$t9
	sw	$v0,24($fp)
	lw	$v1,24($fp)
	li	$v0,-1			# 0xffffffffffffffff
	bne	$v1,$v0,$L20
	b	$L19
$L20:
	sw	$zero,28($fp)
$L21:
	lw	$v0,28($fp)
	slt	$v0,$v0,8
	bne	$v0,$zero,$L24
	b	$L22
$L24:
	li	$v1,7			# 0x7
	lw	$v0,28($fp)
	subu	$v1,$v1,$v0
	li	$v0,1			# 0x1
	sll	$v0,$v0,$v1
	sw	$v0,32($fp)
	lw	$v1,24($fp)
	lw	$v0,32($fp)
	slt	$v0,$v1,$v0
	bne	$v0,$zero,$L25
	lw	$v1,24($fp)
	lw	$v0,32($fp)
	subu	$v0,$v1,$v0
	sw	$v0,24($fp)
	addu	$v1,$fp,40
	lw	$v0,28($fp)
	addu	$v1,$v1,$v0
	li	$v0,49			# 0x31
	sb	$v0,0($v1)
	b	$L23
$L25:
	addu	$v1,$fp,40
	lw	$v0,28($fp)
	addu	$v1,$v1,$v0
	li	$v0,48			# 0x30
	sb	$v0,0($v1)
$L23:
	lw	$v0,28($fp)
	addu	$v0,$v0,1
	sw	$v0,28($fp)
	b	$L21
$L22:
	sb	$zero,48($fp)
	addu	$v0,$fp,40
	la	$a0,__sF+88
	la	$a1,$LC0
	move	$a2,$v0
	la	$t9,fprintf
	jal	$ra,$t9
	b	$L18
$L19:
	move	$v0,$zero
	move	$sp,$fp
	lw	$ra,64($sp)
	lw	$fp,60($sp)
	addu	$sp,$sp,72
	j	$ra
	.end	main
	.size	main, .-main
	.ident	"GCC: (GNU) 3.3.3 (NetBSD nb3 20040520)"
